﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace PMS
{
    public partial class Mydesk : System.Web.UI.Page
    {
        public List<BD_Permission> perm;

        //public List<WaitDeal> viewWaitDealList;
        protected void Page_Load(object sender, EventArgs e)
        {
            //快速导航
            List<int> shortCutInt = DALSession.Current.BD_UserShortCutDAL.GetListBy(u => u.uId == OperateContext.SessBasicInfo.UserInfo.Id).Select(u => u.pId).ToList();
         perm=   OperateContext.SessPermission.Where(p => shortCutInt.Contains(p.Id) && p.IsShortCut == "0").ToList();
           // perm = DALSession.Current.BD_PermissionDAL.GetListBy(p => shortCutInt.Contains(p.Id) && p.IsShortCut == "0").ToList();

        }
    }
}